.class final Lcom/brixd/niceapp/service/StatisticsService$2;
.super Ljava/lang/Object;
.source "StatisticsService.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/service/StatisticsService;->logFailedInfo(Lcom/brixd/niceapp/db/StatisticsEntity;Lcom/brixd/niceapp/model/Token;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic val$statisticsEntity:Lcom/brixd/niceapp/db/StatisticsEntity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/db/StatisticsEntity;)V
    .registers 2

    .prologue
    .line 77
    iput-object p1, p0, Lcom/brixd/niceapp/service/StatisticsService$2;->val$statisticsEntity:Lcom/brixd/niceapp/db/StatisticsEntity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 2
    .param p1, "error"    # Lretrofit/RetrofitError;

    .prologue
    .line 87
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 77
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/service/StatisticsService$2;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 5
    .param p1, "jsonObj"    # Lorg/json/JSONObject;
    .param p2, "resp"    # Lretrofit/client/Response;

    .prologue
    .line 81
    iget-object v0, p0, Lcom/brixd/niceapp/service/StatisticsService$2;->val$statisticsEntity:Lcom/brixd/niceapp/db/StatisticsEntity;

    invoke-virtual {v0}, Lcom/brixd/niceapp/db/StatisticsEntity;->getId()Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/brixd/niceapp/service/StatisticsService;->removeFailedLog(J)V

    .line 82
    return-void
.end method
